<?php

use Illuminate\Database\Seeder;

class UserSeed extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        factory(\App\User::class,20)->create();
        $user = \App\User::find(1);
        $user->username = '张国宝';
        $user->email = '888@qq.com';
        $user->is_admin = 1;
        $user->save();
    }
}